package com.wtone.platform.gat.images.gat.service;

import com.wtone.platform.gat.images.gat.model.ResponseStatusListModeObject;
import com.wtone.platform.gat.images.gat.model.SubscribeNotificationListObject;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Author: aiLin
 * @Date: 2020/9/29 12:05
 * @desc: 通知相关接口
 */
public interface SubscribenotificPublicService {

    /***
     * 发布接口 （推送消息给上级）
     * @param subscribeNotific
     * @return
     */
    public ResponseStatusListModeObject subscribeNotifications(@RequestBody SubscribeNotificationListObject subscribeNotific);

    /***
     * 查询接口
     * @return
     */
    public SubscribeNotificationListObject selectSubscribeNotifications(
            @RequestParam(name = "NotificationID",required = false) String NotificationID,
            @RequestParam(name = "SubscribeID",required = false) String SubscribeID,
            @RequestParam(name = "Title",required = false) String Title,
            @RequestParam(name = "executeoperation",required = false) String executeoperation);


    /***
     * 订阅删除
     * @param IDList
     * @return
     */
    public ResponseStatusListModeObject deleteSubscribeNotifications(@RequestParam(name = "IDList",required = true) String IDList);
}
